﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyShenHeResult.aspx.cs" Inherits="office_MyShenHeResult" %>

<%@ Register Src="../UserControls/Calendar.ascx" TagName="Calendar" TagPrefix="uc1" %>
<%@ Register Src="../UserControls/GeneralSelect.ascx" TagName="GeneralSelect" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>我已办结的件(受理大厅-审查中心)</title>
    <link href="../css/page.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">
    function ViewInstanceFrame(Instance, flag)//查询案件信息
    {
        var strURL = "../QueryAndCollect/TaskProcessView.aspx?IID=" + Instance + "&flag=" + flag;

        window.open(strURL, 'viewer', "height=" + (screen.availHeight - 30) + " , width=" + screen.availWidth + ", top=0, left=0,toolbar=no, menubar=no, scrollbars=no, location=n o, status=no");
    }

    function ReturnMsg(vReturn) {
        alert("设置成功");
    }

    //设置变更原因
    function SetUpdateNotes(strIID) {
        var nReturn = confirm("确定要修改流程中表单内容吗？");
        if (nReturn) {
            var strURL = "TaskUpdateNotes.aspx?iid=" + strIID;
            window.open(strURL, 'viewer', "height=300, width=500, top=0, left=0,toolbar=no, menubar=no, scrollbars=no, location=no, status=no");
        }
    }
</script>
<body>
    <form id="form1" runat="server">
        <div style="width: 99%; margin: 0px auto; text-align: center;">
            <table style="width: 100%; border-top-width: 0px" class="tab">
                <tr>
                    <td>办件类型：
                    </td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="ddlFlow" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>送审单位：
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txtName" runat="server" Width="100"></asp:TextBox>
                    </td>
                    <td>受理编号：
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txtIID" runat="server" Width="100"></asp:TextBox>
                    </td>
                    <td>审图号:
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txtSth" runat="server" Width="100"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>图件用途：
                    </td>
                    <td style="text-align: left">
                        <uc2:GeneralSelect ValidateEmpty="false" FirstEmpty="true" ID="ddlTjlb" Name="图件类别"
                            Width="170" runat="server" />
                    </td>
                    <td>受理时间:
                    </td>
                    <td colspan="3" style="text-align: left">自：<uc1:Calendar ID="startDate" Width="100" runat="server" />
                        到:
                   
                        <uc1:Calendar ID="endDate" Width="100" runat="server" />
                    </td>
                    <td>图名：
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox runat="server" ID="txtTm" Width="100"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>备案情况：
                    </td>
                    <td style="text-align: left">
                        <uc2:GeneralSelect ValidateEmpty="false" FirstEmpty="true" ID="gsBaqk" Name="备案情况"
                            runat="server" />
                    </td>
                    <td>抽查情况：
                    </td>
                    <td style="text-align: left">
                        <uc2:GeneralSelect ValidateEmpty="false" FirstEmpty="true" ID="gsCcqk" Name="抽查情况"
                            runat="server" />
                    </td>
                    <td>审查人：
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox runat="server" ID="txtShr" Width="100"></asp:TextBox>
                    </td>
                    <td style="text-align: left" colspan="2">
                        <asp:CheckBox ID="cbxTh" Text="退改" runat="server"></asp:CheckBox>
                        <asp:CheckBox ID="cbxCss" Text="曾送审" runat="server"></asp:CheckBox>
                        <asp:CheckBox ID="cbxGd" Text="已归档" runat="server"></asp:CheckBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: left">退图关键字：<asp:DropDownList ID="ddlTtgjz" runat="server">
                        <asp:ListItem></asp:ListItem>
                        <asp:ListItem>南海诸岛</asp:ListItem>
                        <asp:ListItem>钓鱼岛</asp:ListItem>
                        <asp:ListItem>台湾</asp:ListItem>
                        <asp:ListItem>西藏自治区按国家表示</asp:ListItem>
                        <asp:ListItem>门隅、珞瑜、下察隅</asp:ListItem>
                        <asp:ListItem>藏南地区</asp:ListItem>
                        <asp:ListItem>阿克赛钦</asp:ListItem>
                        <asp:ListItem>争议地区</asp:ListItem>
                        <asp:ListItem>压盖</asp:ListItem>
                        <asp:ListItem>不清晰</asp:ListItem>
                        <asp:ListItem>绘制粗糙</asp:ListItem>
                        <asp:ListItem>变形严重</asp:ListItem>
                        <asp:ListItem>保密</asp:ListItem>
                    </asp:DropDownList></td>
                    <td>岗位完成时间:
                    </td>
                    <td style="text-align: left" colspan="5">自：<uc1:Calendar ID="calGwStart" Width="100" runat="server" />
                        到:
                   
                        <uc1:Calendar ID="calGwEnd" Width="100" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td colspan="8">
                        <asp:Button ID="btnRefer" CssClass="input" runat="server" Text="查询" OnClick="btnRefer_Click" />
                    </td>
                </tr>
            </table>
            <controlDefine:CustomGridView ID="gvMessage" runat="server" AllowPaging="True" Width="1400"
                ShowImportButton="true" SkinID="NewGrid" HideTextLength="18" AutoGenerateColumns="False"
                ShowCmpAndCancel="false" AllowOnMouseOverEvent="False" ShowItemNumber="True"
                CustomImportToExcel="true" AutoGenerateDeleteConfirm="True" ShowHideColModel="None"
                OnOnImportClick="gvMessage_OnImportClick" OnOnLoadData="gvMessage_OnLoadData">
                <PagerSettings Visible="true" />
                <Columns>
                    <asp:TemplateField HeaderText="办件编号" ItemStyle-Width="115">
                        <ItemTemplate>
                            <a href='#' onclick='ViewInstanceFrame("<%#Eval("iid") %>","")'>
                                <%# Eval("iid") %></a>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="办件类型" DataField="wname" />
                    <asp:BoundField HeaderText="受理编号" DataField="slh" />
                    <asp:BoundField HeaderText="审图号" DataField="scbh" />
                    <%--<asp:BoundField HeaderText="图件类型" DataField="dtyt" />--%>
                    <asp:TemplateField HeaderText="图件类型">
                        <ItemTemplate>
                            <a title="修改用途" style="cursor: pointer; color: blue;" onclick="window.open('../MyWindow/ChgDtyt.aspx?dtyt=<%#Eval("dtyt")%>&iid=<%#Eval("iid")%>','修改用途','width=300,height=50')"><%#FormatInfo(Eval("dtyt").ToString())%>&nbsp;</a>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="图名" DataField="tm" />
                    <asp:BoundField HeaderText="图幅数" DataField="图幅数量" />
                    <asp:BoundField HeaderText="送审单位" DataField="name" />
                    <asp:BoundField DataField="审查应完成日期" HeaderText="审查应完成日期" DataFormatString="{0:yyyy-MM-dd}" />
                    <asp:BoundField DataField="受理日期" HeaderText="受理日期" DataFormatString="{0:yyyy-MM-dd}" />
                    <%-- <asp:BoundField HeaderText="业务接件时间" DataField="accepted_time" HtmlEncodeFormatString="true"
                    DataFormatString="{0:yyyy-MM-dd}" />--%>
                </Columns>
            </controlDefine:CustomGridView>
        </div>
    </form>
</body>
</html>
